package comics;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author zhang
 * @Date 2021/5/7 上午9:48
 * @Description 漫画图片表，存储所有漫画存储地址
 * @Version 1.0
 **/
@Data
@TableName("wm_comics_picture")
public class ComicsPicture implements Serializable {
    @TableId
    private Long pictureId;
    private Long chapterId;
    private Integer pictureNum;
    private String pictureAddress;
    @TableLogic
    @JSONField(serialize = false)
    private Integer deleted;
    @TableField(fill = FieldFill.INSERT)
    @JSONField(serialize = false)
    private Date gwtCreate;
    @JSONField(serialize = false)
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gwtUpdate;
}
